package no.ffi.gismoidm.utils;

import java.security.PublicKey;
//import java.security.cert.X509Certificate;
import java.util.Date;
import java.util.List;
import javax.security.auth.x500.X500Principal;

/**
 * This class is only used within FIDMJavaClient, but since it is meant to be
 * serialized, it should not be declared inside that class.
 *
 * @author anders
 */
public class InternalIdentityStatement implements java.io.Serializable {
    String subjectName; // RFC-822 form
    // TODO cross COI ISes must still hold the subject's DN (I believe)
    X500Principal issuerDN;
    PublicKey subjectPublicKey,xissuerPublicKey;
    //X509Certificate subjectCertificate;//,issuerCertificate;
    Date notBefore,notAfter;
    long issuingTimestamp; // IdP's System.currentTimeMillis at time of issuing
    List subjectAttributes;
}
